<template>
  <div class="content_box">
    <div class="content_main">
      <div class="content_left">
        <div class="left_main">
          <div class="cont_left">准增员人信息</div>
          <div class="cont_input">
            <div class="input_left">姓名</div>
            <div class="input_right">
              <el-input v-model="name" placeholder="请输入"></el-input>
            </div>
          </div>
          <div class="cont_input">
            <div class="input_left">性别</div>
            <div class="input_right" style="display:flex;align-items: center; flex:auto; padding-left:0.2rem">
<<<<<<< HEAD
              <el-radio v-model="sex" label="1">男</el-radio>
              <el-radio v-model="sex" label="2">女</el-radio>
=======
              <el-radio v-model="radio" label="1">男</el-radio>
              <el-radio v-model="radio" label="2">女</el-radio>
>>>>>>> 09b868de12a5afa443c39651869023e16bdba3ca
            </div>
          </div>
          <div class="cont_input">
            <div class="input_left">年龄区间</div>
            <div class="input_right">
              <el-select v-model="age" placeholder="请选择">
                <el-option
                  v-for="item in optionsAge"
                  :key="item.value"
                  :label="item.label"
                  :value="item.value"
                >
                </el-option>
              </el-select>
            </div>
          </div>
          <div class="cont_input">
            <div class="input_left">手机号码</div>
            <div class="input_right">
              <el-input
                v-model="phone"
                maxlength="11"
                placeholder="请输入手机号"
              ></el-input>
            </div>
          </div>
          <div class="cont_input">
            <div class="input_left">上一职业</div>
            <div class="input_right">
              <el-select v-model="job" placeholder="请选择">
                <el-option
                  v-for="item in optionsJob"
                  :key="item.value"
                  :label="item.label"
                  :value="item.value"
                >
                </el-option>
              </el-select>
            </div>
          </div>
          <div class="cont_input">
            <div class="input_left">最高学历</div>
            <div class="input_right">
              <el-select v-model="study" placeholder="请选择">
                <el-option
                  v-for="item in optionsStudy"
                  :key="item.value"
                  :label="item.label"
                  :value="item.value"
                >
                </el-option>
              </el-select>
            </div>
          </div>
        </div>
      </div>
      <div class="content_right">
        <div class="right_top">
          <div class="top_title">
            <div class="title_text">Alice的故事</div>
            <div class="title_icon"><img src="./image/edit_icon.png" /></div>
          </div>
          <div class="top_content">
            一转眼，我来友邦已经是第九个年头。往事历历在目，过去的点点滴滴，不管是挫折、彷徨还是克服困难取得成绩后的巨大快乐，都在我心中留下了美好的记忆！保险这条道路并不是平坦的，但只要你有执着的信念，只要你敢于拥抱自己的梦想，在友邦你就一定能实现！
          </div>
        </div>
        <div class="right_bottom">
          <div class="top_title">
            <div class="title_text">Alice想对您说</div>
            <div class="title_icon"><img src="./image/edit_icon.png" /></div>
          </div>
          <div class="top_content">
            <p>
              有这样一个生意，你可以自己做老板，却不用自己投资一分钱，也没有任何经营风险，只要投入时间、精力，就有机会获得高收入。同时，免去了您经常应对工商、税务等各种社会关系的麻烦，有效规避了新冠疫情等不可抗力对生意带来的巨大风险。
            </p>
            <p>
              保险是目前最有发展潜力的行业之一，国家在大力支持。我们公司的培训制度和奖励制度都会为您的收入提供可靠的的保证，只要努力，就一定有丰厚的回报。
            </p>
            <p>
              人生有许多第一次，比如谈恋爱、养育孩子，我们不都做得很好吗？您自己的生意打理得这么好，销售经验比我可丰富多了，又有大量的人脉关系，这样的资源如果利用好，您一定能在保险业大有作为呢！凡事都是边学边做，您可千万不要小看了自己的能力哦！
            </p>
          </div>
        </div>
      </div>
    </div>
    <div class="content_foot">
      <div class="ylButton">
        <el-button @click="show = !show">预览</el-button>
      </div>
      <div class="fxButton"><el-button type="danger">一键分享</el-button></div>
    </div>
    <van-popup v-model="show">
      <div class="yl_box">
        <div class="img-box">
          <img src="./image/tc_icon.png" />
        </div>
        <div class="close">
          <img @click="show = !show" src="../../assets/close@2x.png" alt="" />
        </div>
      </div>
    </van-popup>
  </div>
</template>
<script>
export default {
  name: "AddProspectiveStaff",
  data() {
    return {
      radio: '1',
      name: "",
      show: false,
      age: "",
      sex: '1',
      phone: "",
      job: "",
      study: "",
      optionsAge: [
        {
          value: "1",
          label: "18~25周岁",
        },
        {
          value: "2",
          label: "26~34周岁",
        },
        {
          value: "3",
          label: "35~44周岁",
        },
        {
          value: "4",
          label: "45周岁以上",
        },
      ],
      optionsJob: [
        {
          value: "1",
          label: "银行职员",
        },
        {
          value: "2",
          label: "信息工程师",
        },
        {
          value: "3",
          label: "检验员",
        },
        {
          value: "4",
          label: "公务员",
        },
        {
          value: "5",
          label: "事务员",
        },
      ],
      optionsStudy: [
        {
          value: "1",
          label: "博士",
        },
        {
          value: "2",
          label: "硕士",
        },
        {
          value: "3",
          label: "本科",
        },
        {
          value: "4",
          label: "专科",
        },
        {
          value: "5",
          label: "高中",
        },
        {
          value: "6",
          label: "初中",
        },
      ],
    };
  },
  methods: {
    ylShow() {
      this.show = true;
    },
  },
};
</script>
<style scoped>
.content_box >>> .van-popup {
  background: none;
}
.yl_box {
  width: 50vw;
  height: 90vh;
  box-sizing: border-box;
  padding-bottom: 0.4rem;
  position: relative;
}
.close {
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 0.3rem;
  height: 0.3rem;
  transform: translate(-50%, 0);
}
.close img {
  width: 100%;
  display: block;
}
.img-box {
  width: 100%;
  height: 84vh;
  overflow-y: auto;
}
.img-box img {
  width: 100%;
  display: block;
}

.el-input {
  position: relative;
  font-size: 0.14rem;
  display: inline-block;
  width: 1.8rem;
  margin-left: auto;
}
.el-select {
  width: 1.8rem;
}
.ylButton .el-button {
  width: 1.3rem;
  color: #d41045;
  margin-right: 0.2rem;
}
.fxButton .el-button {
  width: 1.3rem;
}
</style>

<style lang="less">
.content {
  background: #f7f7f7 !important;
}
.content_box {
  .content_main {
    display: flex;
    margin-bottom: 0.8rem;
    .content_left {
      width: 2.91rem;
      background: #fff;
      .left_main {
        padding: 0.16rem;
        margin-bottom: 0.31rem;
        .cont_left {
          font-size: 0.16rem;
          color: #5a6b80;
          position: relative;
          padding-left: 0.15rem;
          margin-bottom: 0.15rem;
        }
        .cont_left::before {
          content: "";
          position: absolute;
          left: 0;
          top: 0rem;
          width: 0.06rem;
          height: 0.2rem;
          background-image: linear-gradient(179deg, #ec257b 0%, #d41045 100%);
          border-radius: 0.03rem;
        }
        .cont_input {
          display: flex;
          justify-content: space-between;
          margin-bottom: 0.15rem;
          .input_left {
            width: 0.6rem;
            font-size: 0.15rem;
            color: #666666;
            text-align: right;
            height: 0.36rem;
            line-height: 0.36rem;
          }
        }
      }
    }
    .content_right {
      flex: 1;
      margin-left: 0.16rem;
      .right_top {
        padding: 0.15rem;
        background: #fff;
        margin-bottom: 0.16rem;
        .top_title {
          display: flex;
          justify-content: space-between;
          .title_text {
            font-size: 0.16rem;
            position: relative;
            margin-bottom: 0.17rem;
            padding-left: 0.15rem;
          }
          .title_text::before {
            content: "";
            position: absolute;
            left: 0;
            top: 0rem;
            width: 0.06rem;
            height: 0.2rem;
            background-image: linear-gradient(179deg, #ec257b 0%, #d41045 100%);
            border-radius: 0.03rem;
          }
          .title_icon {
            width: 0.22rem;
            margin-left: auto;
            img {
              width: 100%;
              background-size: 100%;
            }
          }
        }
        .top_content {
          font-size: 0.15rem;
          color: #5a6b80;
          line-height: 0.25rem;
        }
      }
      .right_bottom {
        padding: 0.15rem;
        background: #fff;
        .top_title {
          display: flex;
          justify-content: space-between;
          .title_text {
            font-size: 0.16rem;
            position: relative;
            margin-bottom: 0.17rem;
            padding-left: 0.15rem;
          }
          .title_text::before {
            content: "";
            position: absolute;
            left: 0;
            top: 0rem;
            width: 0.06rem;
            height: 0.2rem;
            background-image: linear-gradient(179deg, #ec257b 0%, #d41045 100%);
            border-radius: 0.03rem;
          }
          .title_icon {
            width: 0.22rem;
            margin-left: auto;
            img {
              width: 100%;
              background-size: 100%;
            }
          }
        }
        .top_content {
          font-size: 0.15rem;
          color: #5a6b80;
          line-height: 0.25rem;
          p {
            font-size: 0.15rem;
            color: #5a6b80;
            text-indent: 0.2rem;
            margin-bottom: 0.1rem;
          }
        }
      }
    }
  }
  .content_foot {
    display: flex;
    justify-content: center;
  }
}
</style>